/*
 * @Author: AskMeWhy
 * @Date: 2020-12-27 11:58:47
 * @Last Modified by: AskMeWhy
 * @Last Modified time: 2020-12-27 17:24:16
 */
const app = getApp();
const { AskComponent } = app._require("common/index");
const { downloadFile } = app._require("utils/download.file");
// 列表视频播放处理
// https://developers.weixin.qq.com/community/develop/doc/000e4ef22583d8961919efb6b56009
AskComponent({
    properties: {
        title: {
            type: String,
            value: "",
        },
        list: {
            type: Array,
            value: [],
        },
        value: {
            type: String,
            optionalTypes: [Number],
            value: "",
        },
    },
    methods: {
        handleClick(e){
            let { item } = e.currentTarget.dataset;
            this.$emit("click", { value: item });
        },
    },
});
